package com.hgxd;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * Created by IntelliJ IDEA.
 *
 * @author: FSD
 * @Created 2023/10/20 10:36
 * @description
 **/
@SpringBootApplication
@EnableSwagger2
public class HGXDApplication {
    public static void main(String[] args) {
        SpringApplication.run(HGXDApplication.class,args);
    }

    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
